package com.wfg.blog.Service;

import com.wfg.blog.dao.mapper.TagMapper;
import com.wfg.blog.dao.pojo.Tag;
import com.wfg.blog.service.ArticleService;
import com.wfg.blog.service.TagService;
import com.wfg.blog.vo.Result;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.ArrayList;
import java.util.List;

@RunWith(SpringRunner.class)
@SpringBootTest
public class Service {

    @Autowired
    private ArticleService articleService;

    @Test
    public void hostArticle(){
        Result result = articleService.hostArticle(5);
        System.out.println(result);

    }

}
